import { createRouter, createWebHistory } from "vue-router";

const router = createRouter({
  history: createWebHistory("/web/"),
  routes: [
    {
      path: "/",
      name: "defult",
      component: () => import("../views/defult.vue"),
    },
    {
      path: "/qid/:qid",
      name: "questionMu_name",
      component: () => import("../views/questionMu_name.vue"),
    },
    {
      path: "/answer1",
      name: "answer1",
      component: () => import("../views/answer1.vue"),
    },
    {
      path: "/answer2",
      name: "answer2",
      component: () => import("../views/answer2.vue"),
    },

  ]
})


export default router;


